package com.imoney.payment.web.utils;

import java.io.Serializable;

/**
 * 类说明：常用Json返回包装类
 * 
 * <p>
 * 详细描述：<br>
 * 
 * </p>
 * 
 * <pre>
 * ——————————————————————————————————————————————————————————————————
 * |		修改人		|		修改时间			|		修改原因
 * ——————————————————————————————————————————————————————————————————
 * |	354190 曾宪新	|		2013-1-16		|	
 * ——————————————————————————————————————————————————————————————————
 * </pre>
 * 
 * @author 354190 曾宪新(Xavier.zeng)
 * 
 *         CreateDate: 2013-1-16
 */
@SuppressWarnings("serial")
public class JsonMessage implements Serializable {

	private String success;

	private String code;

	private String message;

	private Object data;

	public JsonMessage() {

	}

	public JsonMessage(String success, String message) {
		this.success = success;
		this.message = message;
	}
	
	public JsonMessage(String success, String code, String message) {
		this.success = success;
		this.code = code;
		this.message = message;
	}
	
	public JsonMessage(String success, String code, String message, Object data) {
		this.success = success;
		this.code = code;
		this.message = message;
		this.data = data;
	}

	public String getSuccess() {
		return success;
	}

	public void setSuccess(String success) {
		this.success = success;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}

}
